﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DDNS.Model.Enum
{
    /// <summary>
    /// 返回状态枚举
    /// </summary>
    public enum EnumStatus
    {
        /// <summary>
        /// 调用成功
        /// </summary>
        [Description("调用成功")]
        Success = 200,

        /// <summary>
        /// 失败
        /// </summary>
        [Description("调用失败")]
        Fail = 300,

        /// <summary>
        /// 未授权/sessionKey不存在或已过期  
        /// </summary>
        [Description("未授权/sessionKey不存在或已过期")]
        UnAuthorized = 401,

        /// <summary>
        /// 参数欠缺
        /// </summary>
        [Description("参数欠缺")]
        ParamsLost = 411,

        /// <summary>
        /// 参数格式有误
        /// </summary>
        [Description("参数格式有误")]
        ParamsFormatWrong = 412,

        /// <summary>
        /// 参数有误,超范围等
        /// </summary>
        [Description("参数有误")]
        ParamsWrong = 413,
    }
}
